﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Charades.Web.DAL
{
	/// <summary>
	/// Ancestor for custom DBMS providers
	/// </summary>
	interface IDBMSAdapter : IDisposable
	{
		/// <summary>
		/// Performs basic initialization and testing of adapter
		/// </summary>
		void InitAdapter();

		/// <summary>
		/// Fetches list of quiz words from storage
		/// </summary>
		/// <returns>List of fetched words</returns>
		List<string> FetchAllWords();
	}
}
